DetectHiddenWindows,On
 ;SetTitleMatchMode,1
actMainWin()
{
	WinGet, active_id2, ID, ahk_class SunAwtFrame
		;MsgBox %active_id2%
		WinActivate,  ahk_class SunAwtFrame
		;act web frmk,only mouse mid key click
		MouseMove,10,100
		MouseClick,Middle
		 
		ControlFocus,Internet Explorer_Server
		ControlFocus,Internet Explorer_Server1



}


 
;; for remoter use ...short key..
;; act  main app
+^!F1:: 

	; msgbox act..
	actMainWin()
return

^s::
	player_title=ahk_class PotPlayer64
	WinClose   %player_title%
	actMainWin()
return
;; ctrl+alt
^!2:: MouseClick,left
^!3:: MouseClick,right